// 编写好规则

export const cnRules = {
  DiseaseName: [
    {
      required: true,
      message: '请输入疾病名称~',
      trigger: 'blur'
    }
  ],
  Count: [
    {
      required: true,
      message: '请填写购买量',
      trigger: 'blur'
    }
  ],
  CNCode: [
    {
      required: true,
      message: '请输入药名~',
      trigger: ['blur', 'change']
    }
  ]

  //   desc: [
  //     {
  //       required: true,
  //       message: '请填写您的个人简介~',
  //       trigger: 'blur'
  //     }
  //   ]
}
// 编写好规则

export const westRules = {
  DiseaseName: [
    {
      required: true,
      message: '请输入疾病名称~',
      trigger: 'blur'
    }
  ],
  DrugId: [
    {
      required: true,
      message: '请输入药品通用名~',
      trigger: ['blur', 'change']
    }
  ],
  Count: [
    {
      required: true,
      message: '请填写购买量',
      trigger: 'blur'
    }
  ],
  CountUnit: [
    {
      required: true,
      message: '请输入购买单位~',
      trigger: 'blur'
    }
  ]

  //   desc: [
  //     {
  //       required: true,
  //       message: '请填写您的个人简介~',
  //       trigger: 'blur'
  //     }
  //   ]
}
